package com.accp.entity;

public class Book implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Integer id;
	private User user;
	private String bookname;
	private String bookimage;
	private Grade grade;
	private Classes classes;
	private Integer isext;
	private Integer status;

	public Book() {
	}

	public Book(User user, String bookname, String bookimage, Grade grade, Classes classes, Integer isext, Integer status) {
		this.user = user;
		this.bookname = bookname;
		this.bookimage = bookimage;
		this.grade = grade;
		this.classes = classes;
		this.isext = isext;
		this.status = status;
	}
	public Book(Integer id, User user, String bookname, String bookimage, Grade grade, Classes classes, Integer isext, Integer status) {
		this.id = id;
		this.user = user;
		this.bookname = bookname;
		this.bookimage = bookimage;
		this.grade = grade;
		this.classes = classes;
		this.isext = isext;
		this.status = status;
	}
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	public String getBookname() {
		return this.bookname;
	}

	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	public String getBookimage() {
		return this.bookimage;
	}

	public void setBookimage(String bookimage) {
		this.bookimage = bookimage;
	}
	public Grade getGrade() {
		return this.grade;
	}

	public void setGrade(Grade grade) {
		this.grade = grade;
	}
	public Classes getClasses() {
		return this.classes;
	}

	public void setClasses(Classes classes) {
		this.classes = classes;
	}
	public Integer getIsext() {
		return this.isext;
	}

	public void setIsext(Integer isext) {
		this.isext = isext;
	}
	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
